package com.emily.test.service;

import com.emily.test.model.SSalary;

import java.util.List;
import java.util.Map;

/**
 * @author tqx
 * @company haihui
 * @create 2019-04-25 13:47
 */
public interface SalaryService {
    /**
     * 批量插入薪资信息
     * @param sSalaryList 薪资信息集合
     * @return
     */
    int insertSalaryList(List<SSalary> sSalaryList);

    /**
     * 根据条件查询公司薪资列表
     * @param sSalary
     * @return
     */
    List<SSalary> selectSalaryInfo(SSalary sSalary);

    List<SSalary> selectPrimarySalaryInfo(SSalary sSalary);

    SSalary findSalaryInfoById(Integer id);

    /**
     * 修改薪资信息
     * @param sSalary
     * @return
     */
    int updateSalaryInfoById(SSalary sSalary);

    /**
     * 获取当年
     * @param selectMap
     * @return
     */
    List<SSalary> getLeiJiSalaryInfoList(Map<String, Object> selectMap);
}
